]> dgit.raspbian.org Git - gnome-shell.git/commit
dbusServices/extensions: Use static class blocks for gtype registration
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 22 May 2025 01:22:49 +0000 (03:22 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 1 Aug 2025 08:57:44 +0000 (08:57 +0000)
commit9e0d159e3f871d623fbe2a08d01c7905540725b7
tree33bf97d4ffcef882eb43c5af4ed30e85b9d80459
parentcbdeb8076e485f71de6113537be80f26ee76151f
dbusServices/extensions: Use static class blocks for gtype registration

Static class blocks are a more readable alternative to _classInit(),
provided we make sure to call registerClass() first.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3750>
js/dbusServices/extensions/extensionPrefsDialog.js